<template>
  <div class="home">
    <Header></Header>
    <el-container class="content">
      <Menu></Menu>
      <el-container>
        <BreadCrumb></BreadCrumb>
        <el-main>
          <div class="cont">
            <!-- 配置路由出口 -->
            <router-view></router-view>
          </div>
        </el-main>

        <el-footer><Footer></Footer></el-footer>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Footer from "./common/Footer.vue";
import Header from "./common/Header.vue";
import Menu from "./common/Menu.vue";
import BreadCrumb from "./common/BreadCrumb.vue";
export default {
  components: {
    Header,
    Footer,
    Menu,
    BreadCrumb,
  },
  data() {
    return {};
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.home {
  margin-top: 0;
  width: 100%;
  height: 100%;
  .content {
    position: absolute;
    width: 100%;
    top: 80px;
    bottom: 0;
    .cont {
      margin: 20px auto;
    }
  }
}
</style>
